<html>
 <head>
  <link href="./leetcode-problem.css" rel="stylesheet" type="text/css">
 </head>
 <body>
  <div class="question_difficulty">
   难度：Easy
  </div>
  <div>
   <h1 class="question_title">
    504. Base 7
   </h1>
   <p>
    Given an integer, return its base 7 string representation.
   </p>
   <p>
    <b>
     Example 1:
    </b>
    <br>
   </p>
   <pre>
<b>Input:</b> 100
<b>Output:</b> "202"
</pre>
   <p>
    <b>
     Example 2:
    </b>
    <br>
   </p>
   <pre>
<b>Input:</b> -7
<b>Output:</b> "-10"
</pre>
   <p>
    <b>
     Note:
    </b>
    The input will be in range of [-1e7, 1e7].
   </p>
  </div>
  <div>
   <h1 class="question_title">
    504. 七进制数
   </h1>
   <p>
    给定一个整数，将其转化为7进制，并以字符串形式输出。
   </p>
   <p>
    <strong>
     示例 1:
    </strong>
   </p>
   <pre>
<strong>输入:</strong> 100
<strong>输出:</strong> "202"
</pre>
   <p>
    <strong>
     示例 2:
    </strong>
   </p>
   <pre>
<strong>输入:</strong> -7
<strong>输出:</strong> "-10"
</pre>
   <p>
    <strong>
     注意:
    </strong>
    输入范围是&nbsp;[-1e7, 1e7] 。
   </p>
  </div>
 </body>
</html>